import junit.framework.TestCase;

import org.junit.Test;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ibatis.sqlmap.client.SqlMapClient;

public class DaoTest extends TestCase {
	SqlMapClient sqlMapClient = null;

	@Override
	protected void setUp() {
		try {
			ApplicationContext context = new ClassPathXmlApplicationContext("config/app-context.xml");
			sqlMapClient = (SqlMapClient) context.getBean("sqlMapClient");
		} catch (BeansException e) {
			e.printStackTrace();
		}
	}

	@Test
	public void testDao() {
	}
}
